package com.javasm.crm.domin.criteria.aftesale;

import com.javasm.crm.domin.criteria.base.BaseQueryCriteria;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author: lirui
 * @Version: 1.0
 * @Date: 2021/7/14-23:27
 * @Since: jdk1.8
 * @Description: 返厂入库单条件查询构造器
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RefacInApplyCriteria extends BaseQueryCriteria {


    /**
     * 入库单号
     */
    private String idoCode;

    /**
     * 返厂入库标志
     */
    private Integer status;

    /**
     * 审核状态
     */
    private Integer approveStatus;

    /**
     * 审核人
     */
    private String approver;

    /**
     * 制单人
     */
    private String createBy;

    /**
     * 审批时间：开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime appStartTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime appEndTime;
}
